Skip to content

fix(tgbdiff): propagate DepsCSR error from buildReverseCSR - #282

Merged
xytan0056 merged 2 commits into
mainfrom
fix/tgbdiff-propagate-deps-csr-error
Aug 14, 2026
Merged

fix(tgbdiff): propagate DepsCSR error from buildReverseCSR#282
xytan0056 merged 2 commits into
mainfrom
fix/tgbdiff-propagate-deps-csr-error

Conversation

@xytan0056

@xytan0056 xytan0056 commented Aug 13, 2026

Copy link
Copy Markdown
Contributor

Summary

  • buildReverseCSR silently swallowed DepsCSR errors and returned an empty reverse adjacency, causing the BFS to produce distance -1 for all non-seed targets with no error signal to the caller.
  • Propagate the error so compareInternal fails explicitly on a corrupt deps column instead of returning silently wrong distances.

Test plan

CI

buildReverseCSR silently swallowed DepsCSR errors and returned an empty
reverse adjacency, causing the BFS to produce distance -1 for all
non-seed targets without any error signal to the caller. Propagate the
error so compareInternal fails explicitly on a corrupt deps column.
@xytan0056
xytan0056 requested review from a team as code owners August 13, 2026 22:45
@xytan0056
xytan0056 merged commit 21dc35c into main Aug 14, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants